'use client'
import './style.scss';
import React from 'react';
import Mform from '../../components/form/form';


export default function Page()  {

const confiData = {
	list:[
		{type:'input',prop:'phone',placeholder:'请输入手机号'},
		{type:'password',prop:'password',placeholder:'请输入密码'}
	],
	clfn:(formData:any)=>{
		console.log(formData)
	}
}
  return <>
		<div className="starBox">
			<div className="star1"></div>
			<div className="star2"></div>
			<div className="star3"></div>
			<div className="starBox2"></div>
		</div>
		<div className="loginbox">
			<div className="loginLog">Log</div>
			<div className="loginbox_1">
			<Mform formConfig={confiData}>
				<div className="btns2">
					<button className="btns3"  type="submit">登录</button>
				</div>
				
			
			</Mform>
		
			
			</div>		
		</div>
 </>
}
